home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Tool Chest / Dev.CD Feb 97 TC.toast / Tool Chest / Development Tools & Languages / HyperCard Related / APDA HyperCard Toolkits / HyperCard Video Toolkit 2.0 / HVT #1 / Videodisc Commands / card_3991.txt < prev    next >
Encoding:
Text File  |  1995-02-07  |  1.2 KB  |  35 lines

  1. -- card: 3991 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3170
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 9
  9. ----- text -----
  10. Command:
  11.  
  12. -- part contents for background part 1
  13. ----- text -----
  14. setVideoPlayer <type of player>
  15.  
  16. -- part contents for background part 2
  17. ----- text -----
  18. Set the type of player being used.
  19.  
  20. -- part contents for background part 3
  21. ----- text -----
  22. type of player
  23.  
  24. -- part contents for background part 7
  25. ----- text -----
  26. the name of the player to be used.
  27.  
  28. -- part contents for background part 4
  29. ----- text -----
  30. This command sets the player type and then calls "controlVideo defaultComm" to set the default communications configuration.  Each player driver has two names:  a short name and a long name ("P4200" and "Pioneer 4200", for example).  Either name can be used for setVideoPlayer.
  31.  
  32. After using setVideoPlayer, it is generally a good idea to use the videoStatus function to check that the player is connected and powered up (videoStatus will return "noAnswer" if it can't communicate with the player).  It is then a good idea to issue a 
  33. "controlVideo reset" command to make sure the player is ready to go and in a known state.
  34.  
  35. You can set the player type to "none", which makes all video commands do nothing.